/*
 Copyright (C) 2013 Yuyao Liang

 This source code is release under the BSD License.

 This program is distributed in the hope that it will be useful, but WITHOUT
 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 FOR A PARTICULAR PURPOSE.  See the license for more details.
 

 */
package com.googlecode.stereoplot;

import org.jfree.data.ComparableObjectSeries;

/**
 * @author lianyuy
 * 
 */
public class StereoPlotDataSeries extends ComparableObjectSeries {

	private static final long serialVersionUID = 6232876000715629689L;
	protected SymmetryType type;
	protected double azimuthOffset;

	public StereoPlotDataSeries(String key) {
		super(key, true, false);
	}

	public StereoPlotDataSeries(String key, SymmetryType type,
			double azimuthOffset) {
		super(key, true, false);
		this.type = type;
		this.azimuthOffset = azimuthOffset;
	}

	/**
	 * @return the type
	 */
	public SymmetryType getType() {
		return type;
	}

	/**
	 * @return the azimuthOffset
	 */
	public double getAzimuthOffset() {
		return azimuthOffset;
	}

	/**
	 * @param type
	 *            the type to set
	 */
	public void setType(SymmetryType type) {
		this.type = type;
	}

	/**
	 * @param azimuthOffset
	 *            the azimuthOffset to set
	 */
	public void setAzimuthOffset(double azimuthOffset) {
		this.azimuthOffset = azimuthOffset;
	}

	public void add(StereoPlotDataItem point) {
		super.add(point, true);
	}

}
